package com.zzyl.serve.service;

import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

import com.zzyl.serve.Dto.NursingPlanDto;
import com.zzyl.serve.VO.NursingPlanAllVo;
import com.zzyl.serve.VO.NursingPlanVo;
import com.zzyl.serve.domain.NursingPlan;

/**
 * 护理计划Service接口
 *
 * @author ruoyi
 * @date 2025-02-17
 */
public interface INursingPlanService extends IService<NursingPlan>
{
    /**
     * 根据ID查询护理计划
     *
     * @param id 护理计划主键
     * @return 护理计划
     */
    public NursingPlanVo selectNursingPlanById(Long id);

    /**
     * 查询护理计划列表
     *
     * @param nursingPlan 护理计划
     * @return 护理计划集合
     */
    public List<NursingPlan> selectNursingPlanList(NursingPlan nursingPlan);


    /**
     * 修改护理计划
     *
     * @param nursingPlanDto 护理计划
     * @return 结果
     */
    public int updateNursingPlan(NursingPlanDto nursingPlanDto);


    /**
     * 新增护理计划
     * @param nursingPlanDto
     * @return
     */
    int add(NursingPlanDto nursingPlanDto);

    /**
     * 删除护理计划
     *
     * @param id 需要删除的护理计划主键
     * @return 结果
     */
    void deleteNursingPlanById(Long id);

    /**
     * 查询所有护理计划
     * @return
     */
    List<NursingPlanAllVo> selectAll();



}
